<article class="module width_3_quarter">
    <header>
      <h3 class="tabs_involved">套餐组合</h3>
      <ul class="tabs">
        <li><a href="admins.php?act=goods_package_add">新增套餐</a></li>
        
      </ul>
    </header>
    <div class="tab_container">
      <div id="tab1" class="tab_content">
        <table class="tablesorter" cellspacing="0">
          <thead>
            <tr>
          	<th>ID</th>
              <th>套餐名称</th>
              <th>描述</th>
              <th>价格</th>
              <th>运费</th>
              <th>分类</th>
              <th width="40%">商品</th>
              <th width="80px">操作</th>
            </tr>
          </thead>
          <tbody>
              {{foreach from=$lists key=key item=list}}
            <tr>
            <td>{{$list.p_id}}</td>
              <td>{{$list.p_name}}</td>
              <td>{{$list.p_desc}}</td>
              <td>{{$list.price}}</td>
              <td>{{$list.shipping_fee}}</td>
              <td>{{$list.f_id}}</td>
              <td>
              <table>
              <tr>
             
              	{{foreach from=$list.goods_list key=s_k item=s_v}}
                 <td>
                	<img src="{{$s_v.goods_thumb}}" width="60"/>
                    <br />
                    {{$s_v.shop_priced}}
                </td>
                {{/foreach}}
                
                </tr>
              </table>
              </td>
              
             
              <td>
                <a class="alt_btn" href="admins.php?act=goods_package_edit&p_id={{$list.p_id}}">修改</a>
                <br>
                  <br>
                  
              <a class="alt_btn" href="admins.php?act=goods_package_del&p_id={{$list.p_id}}">删除</a>
              </td>
            </tr>
             {{/foreach}}
          </tbody>
        </table>
      </div>
      <!-- end of #tab1 -->
      
   
      
    </div>
    <!-- end of .tab_container --> 
    
  </article>